package com.example.mybatis.service;

import com.example.mybatis.form.UserForm;
import com.example.mybatis.model.ServiceResponse;
import com.example.mybatis.model.SheetInfo;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.File;

public interface IExcelService {

    void exportSheet(String sheetName, Integer page,Integer pageSize,HttpServletResponse response);

    void exportSearchSheet(UserForm form, SheetInfo sheetInfo,HttpServletResponse response)throws Exception;

    ServiceResponse<String> importExcel(File file, boolean isExcel2003)throws Exception;
}
